Release 10.1A: OpenEdge Development:
ProDataSets
SYNCHRONIZE event for a ProDataSet buffer
There is also a
SYNCHRONIZEevent for ProDataSet temp-table buffers, which fires under these conditions:
- Whenever the application code does an explicit
SYNCHRONIZEon that buffer or a parent of that buffer in the ProDataSet hierarchy that cascades theSYNCHRONIZEthrough the levels of the ProDataSet.- When there is an explicit browse row selection for a browse on a ProDataSet temp-table, such as when the user clicks on a row.
- When the application uses the
SYNCHRONIZE()method to force a synchronization of ProDataSet tables.- When the buffer’s query is closed.
This event allows the procedure code that responds to the event to display buffer values in a frame or take some other action. The event is set using the same
SET-CALLBACK-PROCEDUREmethod and receives the ProDataSet asINPUTas other events do, as shown
The event handler is invoked just before the
SYNCHRONIZEbehavior occurs, that is, before the current buffer’s child relation queries are re-opened. The handler procedure canRETURN NO-APPLYto cancel the effects of theSYNCHRONIZEin the event that it detects that the synchronization should not occur (to avoid the overhead of opening child queries when this isn’t wanted, for instance).
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |